
export default {
  mode: 'universal',
  /*
  ** Headers of the page
  */
  head: {
    title: '全球虚拟物品交易中心',
    meta: [
      { charset: 'utf-8' },
      { name: 'viewport', content: 'width=device-width, initial-scale=1' },
      { name: "keywords", content: '全球虚拟物品交易中心' },
      { hid: 'description', name: 'description', content: '全球虚拟物品交易中心' }
    ],
    link: [
      { rel: 'icon', type: 'image/x-icon', href: '/logozz.png' }
    ]
  },
  loading: { color: '#0084ff' },
  css: [
    'ant-design-vue/dist/antd.less'
  ],
  plugins: [
    '@/plugins/antd-ui',
    // '@/plugins/route',
    '@plugins/echarts',
    '@/plugins/token'
  ],
  buildModules: [
  ],
  modules: [
    '@nuxtjs/proxy'
  ],
  axios: {
    proxy: true
  },
  proxy: {
    '/api': {
      target: 'https://php.itemplay.com/',
      pathRewrite: {
        '^/api': '/'
      }
    }
  },
  build: {
    loaders: {
      less: {
        javascriptEnabled: true,
        modifyVars: {
          'primary-color': '#0084ff'
        }
      }
    }
  }
}
